package cn.jdy.platform.entity;

import cn.jdy.common.bo.BaseEntry;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * 友情链接实体类
 *
 * @author: zhaigt
 * @data: 2014-3-17
 */
@Entity
public class FriendLink extends BaseEntry implements Serializable {
	private static final long serialVersionUID = 1L;
  @Id
  @GeneratedValue(generator = "system-uuid")
  @GenericGenerator(name = "system-uuid", strategy = "uuid.hex")
  @Column(length = 32)
	private String id; //友情链接主键
	private Integer type;//类型 1文字链接 2 图片
	private String name;//友情链接网站名称
	private String url;//网站的链接地址
	private String logourl;//网站LOGO图标地址
	private Integer status;//0 正常 1 禁用
	private String efftime;//失效时间
	private String remark;//备注（网站的文字说明）
	private Integer sort;//排序
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getLogourl() {
		return logourl;
	}

	public void setLogourl(String logourl) {
		this.logourl = logourl;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getEfftime() {
		return efftime;
	}

	public void setEfftime(String efftime) {
		this.efftime = efftime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

}
